home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: news2.interlog.com!rose!awhite
- From: awhite@user.rose.com (A White)
- Subject: Re: Variable > string ?
- Sender: news@rose.com (news)
- Organization: Rose Media Incorpoarted, Ontario, Canada
- Message-ID: <DMF188.K5n@rose.com>
- References: <4evded$p1j@nntp.novia.net>
- Date: Wed, 7 Feb 1996 17:14:30 GMT
-
- In article <4evded$p1j@nntp.novia.net>,
- Tony Syslo <tsyslo@oasis.novia.net> wrote:
- > time, but now, I am wondering, how can I take a variable (say y=123456789) and
- > get the last two characters, ie, 89... Is it some sort of str___() command?
- > Also, how could I take the FIRST two characters, ie 12... ?? Thanx for any and
-
- Is y an integer? if so, use y % 100 to get the last two
-
- More Info!
-
-